from PyQt5 import QtCore, QtGui, QtWidgets

class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName("query")
        Dialog.resize(1100, 563)
        self.label = QtWidgets.QLabel(Dialog)
        self.label.setGeometry(QtCore.QRect(0, 10, 1031, 111))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(50)
        font.setBold(True)
        font.setWeight(75)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.comboBox = QtWidgets.QComboBox(Dialog)
        self.comboBox.setGeometry(QtCore.QRect(10, 160, 201, 51))
        self.comboBox.setObjectName("comboBox")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.pushButton = QtWidgets.QPushButton(Dialog)
        self.pushButton.setGeometry(QtCore.QRect(10, 500, 131, 61))
        self.pushButton.setObjectName("pushButton")
        self.tabWidget = QtWidgets.QTableWidget(Dialog)
        self.tabWidget.setGeometry(QtCore.QRect(10, 210, 1050, 291))
        self.tabWidget.setObjectName("tabWidget")
        self.tabWidget.verticalHeader().setVisible(False)
        self.tabWidget.resizeColumnsToContents()
        self.tabWidget.resizeRowsToContents()
        self.tabWidget.setShowGrid(False)

        self.retranslateUi(Dialog)
        self.pushButton.clicked.connect(self.tabWidget.clear)
        self.pushButton.clicked.connect(Dialog.query)
        QtCore.QMetaObject.connectSlotsByName(Dialog)

    def retranslateUi(self, Dialog):
        _translate = QtCore.QCoreApplication.translate
        Dialog.setWindowTitle(_translate("Dialog", "query"))
        self.label.setText(_translate("Dialog", "<html><head/><body><p align=\"center\">欢迎您，员工</p></body></html>"))
        self.comboBox.setItemText(0, _translate("Dialog", "员工信息"))
        self.comboBox.setItemText(1, _translate("Dialog", "商品信息"))
        self.comboBox.setItemText(2, _translate("Dialog", "采购信息"))
        self.pushButton.setText(_translate("Dialog", "查询"))
